// 总

import axios from '@/utils/request.js'

// 获取设备列表
export const getAllDevice = () => {
	return axios({
		method: 'POST',
		url: '/device/get'
	})
}

// 获取家庭数据
export const getHomeData = () => {
	return axios({
		method: 'POST',
		url: '/home/get'
	})
}